package com.jinglin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jinglin.entity.po.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户信息表 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2025-03-02
 */
@Mapper
public interface UserInfoMapper extends BaseMapper<UserInfo> {

    Integer updateCoinCountInfo(@Param("userId") String userId,@Param("actionCount") Integer actionCount);

    int count();

    List<UserInfo> listAll(int start, int pageSize);
}

